<template>
	<view class="example">
		<custom-navi :show-home="false">示例</custom-navi>
		<tabs :tabs="tabs" :current='current' @change='tabChange'></tabs>
		<view class="content">
			<view class="content-list">
				<view class="content-list-title">
					门头图
				</view>
				<view class="content-list-subhead">
					①已关门
				</view>
				<view class="content-list-txt">
					建议上传清晰的门头图和地址特写
				</view>
				<view class="content-list-img">
					<image src="../../../../../static/myicon/shop.png" mode=""></image>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import tabs from "../../../components/QS-tabs/QS-tabs.vue";
	export default {
		components: {
			tabs
		},
		data() {
			return {
				current: 0,
				tabs: [
				        {name: '门店名称'},
				        {name: '品类'},
				        {name: '门店地址'},
						{name: '电话'},
						{name: '营业时间'},
						{name: '营业状态'}
				    ],
					formData:[
						{}
					]
			}
		},
		onLoad() {
	
		},
		methods: {
			tabChange(index) {
			    this.current = index
			}
		}
	}
</script>

<style lang="scss" scoped>
	.content{
		background:rgba(243,244,248,1);
		padding: 32rpx;
		&-list{
			view{
				margin-top: 12rpx;
			}
			&-title{
				font-size:32rpx;
				font-family:PingFang SC;
				font-weight:bold;
				color:rgba(51,51,51,1);
				opacity:1;
			}
			&-subhead{
				font-size:24rpx;
				font-family:PingFang SC;
				font-weight:bold;
				color:rgba(3,3,3,1);
				opacity:1;
			}
			&-txt{
				font-size:28rpx;
				font-family:PingFang SC;
				font-weight:400;
				color:rgba(102,102,102,1);
				opacity:1;
				margin-bottom: 24rpx;
			}
			&-img{
				width: 552rpx;
				height: 362rpx;
				margin: 0 auto;
				image{
					width: 100%;
					height: 100%;
				}
			}
		}
	}
</style>
